package org.sais.exscanner;

import java.io.File;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;

public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		Intent intent = new Intent().setAction(ScanService.ACTION_SCAN_DIR).setData(Uri.fromFile(new File("/sdcard")));
		startService(intent);
	}
	
}
